# from PyQt5.Qt import *
# import sys
#
# from secret_utils.secret_selenium import decrypt_aes
#
#
# class Window(QWidget):
#
#     def __init__(self):
#         super(Window, self).__init__()
#         self.setWindowTitle('Decrypt Aes')
#         self.resize(300, 130)
#         self.setMinimumSize(300, 130)
#         self.setMaximumSize(300, 130)
#
#         self.label_key = QLabel(self)
#         self.textbox_key = QLineEdit(self)
#         self.label_aes = QLabel(self)
#         self.textbox_aes = QLineEdit(self)
#         self.btn_decrypt = QPushButton("Decrypt", self)
#         self.btn_cancel = QPushButton("Cancel", self)
#         self.textbox_pw = QLineEdit(self)
#
#         self.label_key.setText("Decryption Key:")
#         self.label_key.move(5, 10)
#         self.label_key.setFixedSize(135, 25)
#
#         self.textbox_key.move(150, 8)
#         self.textbox_key.setFixedSize(135, 25)
#
#         self.label_aes.setText("Password to be Decrypted:")
#         self.label_aes.move(5, 40)
#         self.label_aes.setFixedSize(140, 25)
#
#         self.textbox_aes.setClearButtonEnabled(True)
#         self.textbox_aes.move(150, 38)
#         self.textbox_aes.setFixedSize(135, 25)
#
#         self.btn_decrypt.move(130, 100)
#
#         self.btn_cancel.move(210, 100)
#
#         self.textbox_pw.move(5, 68)
#         self.textbox_pw.setFixedSize(280, 25)
#
#         self.btn_decrypt.clicked.connect(self.decrypt_pw)
#         self.btn_cancel.clicked.connect(QCoreApplication.instance().quit)
#
#     def decrypt_pw(self):
#         password_aes = self.textbox_aes.text()
#         aes_key = self.textbox_key.text()
#         text = decrypt_aes(password_aes, aes_key)
#         self.textbox_pw.setText(text)
#
#
# if __name__ == "__main__":
#     app = QApplication(sys.argv)
#     window = Window()
#     window.show()
#     sys.exit(app.exec_())
